﻿using Domain.Model.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    /// <summary>
    /// 奖金
    /// </summary>
    public class Bonus:EntityBase
    {
        /// <summary>
        /// 期数
        /// </summary>
        public int No { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? BeginTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        [Required]
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public State State { get; set; }
        /// <summary>
        /// 结算类型
        /// </summary>
        public SettlementType SettlementType{get;set;}
        /// <summary>
        /// 结算人
        /// </summary>
            [Length(30)]
        public string Settlementer { get; set; }
    }
}
